<?xml version="1.0" encoding="utf-8"?>
<tasks>
  <task id="WITs" name="WorkItemType definitions" plugin="Microsoft.ProjectCreationWizard.WorkItemTracking" completionMessage="Work item types created">
    <taskXml>
      <WORKITEMTYPES>
        <WORKITEMTYPE fileName="WorkItem Tracking\TypeDefinitions\Scenario.xml" />
        <WORKITEMTYPE fileName="WorkItem Tracking\TypeDefinitions\Risk.xml" />
        <WORKITEMTYPE fileName="WorkItem Tracking\TypeDefinitions\task.xml" />
        <WORKITEMTYPE fileName="WorkItem Tracking\TypeDefinitions\Bug.xml" />
        <WORKITEMTYPE fileName="WorkItem Tracking\TypeDefinitions\ChangeRequest.xml" />
      </WORKITEMTYPES>
    </taskXml>
  </task>
  <task id="WIs" name="WorkItems" plugin="Microsoft.ProjectCreationWizard.WorkItemTracking" completionMessage="Work items uploaded">
    <dependencies>
      <dependency taskId="WITs" />
    </dependencies>
    <taskXml>
      <WORKITEMS>
        <WI type="Task">
          <FIELD refname="System.Title" value="Set up: Set Permissions" />
          <FIELD refname="System.IterationPath" value="$$PROJECTNAME$$\Iteration 0" />
          <FIELD refname="System.State" value="Active" />
          <FIELD refname="System.Reason" value="New" />
          <FIELD refname="Microsoft.VSTS.Common.Issue" value="No" />
          <FIELD refname="Microsoft.VSTS.Common.ExitCriteria" value="Yes" />
          <FIELD refname="System.Description" value="Add team members to one of the four security groups: Build Services, Project Administrators, Contributors, or Readers. To configure security, Right-click the team project in Team Explorer, and select 'Team Project Settings,' 'Group Membership'" />
          <FIELD refname="Microsoft.VSTS.Common.Discipline" value="Project Management" />
        </WI>
        <WI type="Task">
          <FIELD refname="System.Title" value="Set up: Set Check-in Policies" />
          <FIELD refname="System.IterationPath" value="$$PROJECTNAME$$\Iteration 0" />
          <FIELD refname="System.State" value="Active" />
          <FIELD refname="System.Reason" value="New" />
          <FIELD refname="Microsoft.VSTS.Common.Issue" value="No" />
          <FIELD refname="Microsoft.VSTS.Common.ExitCriteria" value="Yes" />
          <FIELD refname="System.Description" value="Setup the business rules or policies that surround source code check-ins. For more information, see 'Check-in Policies and Notes' in the Visual Studio help." />
          <FIELD refname="Microsoft.VSTS.Common.Discipline" value="Development" />
        </WI>
        <WI type="Task">
          <FIELD refname="System.Title" value="Set up: Configure Build" />
          <FIELD refname="System.IterationPath" value="$$PROJECTNAME$$\Iteration 0" />
          <FIELD refname="System.State" value="Active" />
          <FIELD refname="System.Reason" value="New" />
          <FIELD refname="Microsoft.VSTS.Common.Issue" value="No" />
          <FIELD refname="Microsoft.VSTS.Common.ExitCriteria" value="Yes" />
          <FIELD refname="System.Description" value="Create an initial source tree and set up the build to run on a periodic, usually daily, basis. For more information, see 'Administering Team Foundation Build' in the Visual Studio help." />
          <FIELD refname="Microsoft.VSTS.Common.Discipline" value="Development" />
        </WI>
        <WI type="Task">
          <FIELD refname="System.Title" value="Set up: Send Mail to Users for Installation and Getting started" />
          <FIELD refname="System.IterationPath" value="$$PROJECTNAME$$\Iteration 0" />
          <FIELD refname="System.State" value="Active" />
          <FIELD refname="System.Reason" value="New" />
          <FIELD refname="Microsoft.VSTS.Common.Issue" value="No" />
          <FIELD refname="Microsoft.VSTS.Common.ExitCriteria" value="Yes" />
          <FIELD refname="System.Description" value="Send an e-mail to team members that provides information about which Team Foundation Server they should connect to, and which team project they should use so they can get started working on the team project." />
          <FIELD refname="Microsoft.VSTS.Common.Discipline" value="Project Management" />
        </WI>
        <WI type="Task">
          <FIELD refname="System.Title" value="Create Vision Statement" />
          <FIELD refname="System.IterationPath" value="$$PROJECTNAME$$\Iteration 0" />
          <FIELD refname="System.State" value="Active" />
          <FIELD refname="System.Reason" value="New" />
          <FIELD refname="Microsoft.VSTS.Common.Issue" value="No" />
          <FIELD refname="Microsoft.VSTS.Common.ExitCriteria" value="Yes" />
          <FIELD refname="Microsoft.VSTS.Common.Discipline" value="Requirements" />
          <FIELD refname="System.Description" value="There is process guidance available for this task. Open the link &lt;$$WSSSITE$$/$$PROJECTNAME$$/Process%20Guidance/Supporting%20Files/WriteVisionStatement.htm&gt; or in the process guidance, select the 'Index' tab from the tabs at the top of the page. On the workstreams page, select 'Capture Project Vision'. Under activities, choose the first entry, 'Write Vision Statement'. If the process guidance is not open in the web browser, open the 'Documents' folder in the Team Explorer. Inside the 'Documents' folder is a folder entitled 'Process Guidance'. Double click on 'ProcessGuidance.html' inside the Process Guidance folder to bring up the process guidance." />
        </WI>
        <WI type="Task">
          <FIELD refname="System.Title" value="Set up: Create Project Description on Team Project Portal" />
          <FIELD refname="System.IterationPath" value="$$PROJECTNAME$$\Iteration 0" />
          <FIELD refname="System.State" value="Active" />
          <FIELD refname="System.Reason" value="New" />
          <FIELD refname="Microsoft.VSTS.Common.Issue" value="No" />
          <FIELD refname="Microsoft.VSTS.Common.ExitCriteria" value="Yes" />
          <FIELD refname="System.Description" value="Change the default project description to better describe the new team project; such as describing project purpose, goals, or vision. To change the description, open the project portal, click 'Site Settings,' and then click 'Change site title and description.'" />
          <FIELD refname="Microsoft.VSTS.Common.Discipline" value="Project Management" />
        </WI>
        <WI type="Task">
          <FIELD refname="System.Title" value="Set up: Create Project Structure - Areas and Iterations" />
          <FIELD refname="System.IterationPath" value="$$PROJECTNAME$$\Iteration 0" />
          <FIELD refname="System.State" value="Active" />
          <FIELD refname="System.Reason" value="New" />
          <FIELD refname="Microsoft.VSTS.Common.Issue" value="No" />
          <FIELD refname="Microsoft.VSTS.Common.ExitCriteria" value="Yes" />
          <FIELD refname="System.Description" value="Create the project structure that captures what areas the development team will be working in. To set project structure, right-click the team project in Team Explorer, select 'Team Project Settings,' and 'Areas and Iterations.'" />
          <FIELD refname="Microsoft.VSTS.Common.Discipline" value="Project Management" />
        </WI>
        <WI type="Task">
          <FIELD refname="System.Title" value="Developer: Setup Sitecore Local environment and Database" />
          <FIELD refname="System.IterationPath" value="$$PROJECTNAME$$\Iteration 0" />
          <FIELD refname="System.State" value="Active" />
          <FIELD refname="System.Reason" value="New" />
          <FIELD refname="Microsoft.VSTS.Common.Discipline" value="Development" />
          <FIELD refname="Microsoft.VSTS.Scheduling.RemainingWork" value="1" />
          <FIELD refname="System.Description" value="Setup your local Sitecore environment and Database" />
        </WI>
        <WI type="Task">
          <FIELD refname="System.Title" value="System Administer: Setup QA Environment" />
          <FIELD refname="System.IterationPath" value="$$PROJECTNAME$$\Iteration 0" />
          <FIELD refname="System.State" value="Active" />
          <FIELD refname="System.Reason" value="New" />
          <FIELD refname="System.Description" value="1. Setup QA Environment&#xD;&#xA;2. Setup Databases&#xD;&#xA;3. Setup exrternal Client access (if needed)" />
          <FIELD refname="Microsoft.VSTS.Common.Discipline" value="Development" />
        </WI>
        <WI type="Task">
          <FIELD refname="System.Title" value="Project Management: Verify QA enviroment" />
          <FIELD refname="System.IterationPath" value="$$PROJECTNAME$$\Iteration 0" />
          <FIELD refname="System.State" value="Active" />
          <FIELD refname="System.Reason" value="New" />
          <FIELD refname="System.Description" value="1. Verify QA enviroment&#xD;&#xA;2. Verify external client access (if neccessary)" />
          <FIELD refname="Microsoft.VSTS.Common.Discipline" value="Project Management" />
        </WI>
      </WORKITEMS>
    </taskXml>
  </task>
  <task id="Queries" name="Stored Query Definitions" plugin="Microsoft.ProjectCreationWizard.WorkItemTracking" completionMessage="Queries uploaded">
    <dependencies>
      <dependency taskId="WIs" />
      <dependency taskId="WITs" />
    </dependencies>
    <taskXml>
      <QUERIES>
        <Query name="My Work Items" fileName="WorkItem Tracking\Queries\MyWorkItems.wiq" />
        <Query name="Project Checklist" fileName="WorkItem Tracking\Queries\ProjectChecklist.wiq" />
        <Query name="All Scenarios" fileName="WorkItem Tracking\Queries\AllScenarios.wiq" />
        <Query name="All Quality of Service Requirements" fileName="WorkItem Tracking\Queries\AllQualityOfServiceRequirements.wiq" />
        <Query name="All Tasks" fileName="WorkItem Tracking\Queries\AllTasks.wiq" />
        <Query name="All Work Items" fileName="WorkItem Tracking\Queries\AllWorkItems.wiq" />
        <Query name="Active Bugs" fileName="WorkItem Tracking\Queries\ActiveBugs.wiq" />
        <Query name="Resolved Bugs" fileName="WorkItem Tracking\Queries\ResolvedBugs.wiq" />
        <Query name="My Work Items for All Team Projects" fileName="WorkItem Tracking\Queries\MyWorkItemsAllTeamProjects.wiq" />
        <Query name="All Issues" fileName="WorkItem Tracking\Queries\AllIssues.wiq" />
        <Query name="Untriaged Bugs" fileName="WorkItem Tracking\Queries\UntriagedBugs.wiq" />
      </QUERIES>
    </taskXml>
  </task>
</tasks>